package com.woniu.teachmall.dto;

import lombok.Data;

@Data
public class CarItem {
    Integer id;//gooditemid
    Integer userid;
    Integer goodid;
    Integer num;
    Double goodprice;
    String goodname;
    String goodimage;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGoodid() {
        return goodid;
    }

    public void setGoodid(Integer goodid) {
        this.goodid = goodid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getGoodprice() {
        return goodprice;
    }

    public void setGoodprice(Double goodprice) {
        this.goodprice = goodprice;
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname;
    }

    public String getGoodimage() {
        return goodimage;
    }

    public void setGoodimage(String goodimage) {
        this.goodimage = goodimage;
    }

    @Override
    public String toString() {
        return "CarItem{" +
                "id=" + id +
                ", userid=" + userid +
                ", goodid=" + goodid +
                ", num=" + num +
                ", goodprice=" + goodprice +
                ", goodname='" + goodname + '\'' +
                ", goodimage='" + goodimage + '\'' +
                '}';
    }
}
